/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sistema.ecua911.datos.BDs;

import java.sql.SQLException;
import sistema.ecua911.negocio.Llamadas;

/**
 *
 * @author pablo
 */
public class llamada_tipoDB {
   public boolean grabar(int llamada,int tipo) throws SQLException {
        OperacionesBase db = new OperacionesBase();
        String query = "insert into llamada_alarma values(" +llamada  + "," + tipo+ ")";
        Boolean resultado = db.ingreso(query);
        db.cerrarConexion();
        return resultado;
    }  
}
